package com.jihu.design.behavioral.chain.ext;

/**
 * @author jihu
 * @date 2021/10/15
 */
public class HttpFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.msg += ">>>";

        System.out.println("HttpFilter......doFilter之前");

        chain.doFilter(request,response,chain);

        System.out.println("HttpFilter......doFilter之后");
    }
}
